package com.xiaolin.designmode.builder;

/**
 * @ClassName BuilderTest
 * @Description 客户端
 * @Detail detail
 * @Author MyPC
 * @Date 2020/10/30
 * @Version 1.0
 */
public class BuilderTest {
    public static void main(String[] args) {
        AbstractMotorBuilder abstractMotorBuilder=new ABlandMotorBuilder();
        Director director=new Director(abstractMotorBuilder);
        Motorbike motorbike = director.build();
        System.out.println(motorbike);
    }
}
